home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 35
/
Aminet 35 (2000)(Schatztruhe)[!][Feb 2000].iso
/
Aminet
/
util
/
dtype
/
JPEG-DT35.readme
< prev
next >
Wrap
Text File
|
2000-01-02
|
4KB
|
114 lines
Short: New Datatype for JPEG Images (46.0)
Author: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
Uploader: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
Version: 46.0
Type: util/dtype
Requires minimum:
* OS 3.5
Additionally recommended:
* MUI 3.8 for the preferences.
##########################################################
NOTE:
This JPEG datatype is for OS 3.5 only !!
Download util/dtype/JPEG-DT.lha under OS 3.0 or OS 3.1 !!
##########################################################
With the help of the jpeg.datatype, your datatype sytem is able to read JPEG images.
This datatype is freeware and can be used for any purpose !
##### Why another datatype for JPEG images ? #####
Well there are many of them available on the Aminet, but this has two unbeatable
advantages !!
1. It is very short, only about 8 kB !! Why ? Because it does not contain the JPEG
de/encoder in the datatype itself.
The datatype uses the jpeg.library from Paul Huxham for the JPEG de/encoding
from the latest JPEG V6b release, so it is up-to-date.
2. It can write JPEG files when using the DTMW_RAW flag in the DTM_WRITE method !!
Internet: http://www.rzuser.uni-heidelberg.de/~astegema/
Important note about the source code:
*************************************
The source has been written in C++ using Maxon-C++ V3.
You will find several instructions a bit strange as I have converted all C-style OS-structures
to C++ OS-structures.
E.g.
struct Library
{
struct Node lib_Node;
UBYTE lib_Flags;
UBYTE lib_pad;
UWORD lib_NegSize;
UWORD lib_PosSize;
UWORD lib_Version;
UWORD lib_Revision;
APTR lib_IdString;
ULONG lib_Sum;
UWORD lib_OpenCnt;
};
has been converted to
struct Library:Node // !!!!!
{
UBYTE lib_Flags;
UBYTE lib_pad;
UWORD lib_NegSize;
UWORD lib_PosSize;
UWORD lib_Version;
UWORD lib_Revision;
APTR lib_IdString;
ULONG lib_Sum;
UWORD lib_OpenCnt;
};
This simplifies the code as I don't always need to cast variables to fit arguments
in functions.
Additionally C++ allows to leave away the 'struct' keyword !
If you like to recompile the source-code for your compiler, you need to adjust the
source-code to C. But this should be no problem.
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
3352 2244 33.0% 17-Nov-99 00:17:52 JPEG-DT35.info
6212 3214 48.2% 15-Nov-99 09:41:04 +jpeg.datatype
98 82 16.3% 08-Oct-99 11:43:26 +JPEG
1182 402 65.9% 15-Nov-99 09:23:16 +Install
4232 2885 31.8% 15-Nov-99 17:39:54 +Install.info
2343 1188 49.2% 15-Nov-99 09:53:26 +JPEG-DT35.doc
3576 1922 46.2% 15-Nov-99 17:14:26 +JPEG-DT35.doc.info
2184 1005 53.9% 15-Nov-99 09:51:50 +JPEG-DT35.readme
2221 1385 37.6% 15-Nov-99 17:14:26 +JPEG-DT35.readme.info
77972 44218 43.2% 09-Oct-99 12:53:02 +jpeg.library_020881
84292 47380 43.7% 09-Oct-99 12:53:02 +jpeg.library_020std
78208 44215 43.4% 09-Oct-99 12:53:02 +jpeg.library_040881
84292 47234 43.9% 09-Oct-99 12:53:02 +jpeg.library_040std
3781 2517 33.4% 15-Nov-99 17:14:54 +Prefs.info
5732 2954 48.4% 15-Nov-99 09:41:04 +JPEGPrefs
3902 2924 25.0% 15-Nov-99 17:15:22 +JPEGPrefs.info
59 57 3.3% 15-Nov-99 09:41:08 +class.h
7161 2418 66.2% 15-Nov-99 09:41:06 +dispatcher.c
3463 1204 65.2% 15-Nov-99 09:41:06 +libbase.c
253 124 50.9% 15-Nov-99 09:41:04 +make
3101 1194 61.4% 15-Nov-99 09:41:08 +savejpeg.c
-------- ------- ----- --------- --------
377616 210766 44.1% 24-Nov-99 20:30:32 21 files